<template>
    <!--自定义加载中-->
    <div class="zhezhaoPage initStyle" v-if="customVisible">
      <a-spin :tip="title">
      </a-spin>
    </div>
</template>

<script>

export default {
  props: {
    customVisible: {
      type: Boolean,
      default: false
    },
    title: {
      type: String,
      default: '正在导出中...'
    },
  },
  data () {
    return {

    }
  },

  methods: {
    open(){
      this.customVisible = true
    },
    colse(){
      this.customVisible = false
    }

  }

}
</script>

<style scoped>
.initStyle{
  background-color: rgba(0,0,0, .05);
}
</style>
